\frame[containsverbatim]
{
  \frametitle{FindInconsistentSync implementation (continued)}
{\scriptsize
\begin{verbatim}
private BugReporter bugReporter;
private Map<XField, AccessCount> accessMap;

public FindInconsistentSync(BugReporter bugReporter) {
  this.bugReporter = bugReporter;
  this.accessMap = new HashMap<XField, AccessCount>();
}

private AccessCount getAccessCount(XField field) {
  AccessCount accessCount = accessMap.get(field);
  if (accessCount == null) {
    accessCount = new AccessCount();
    accessMap.put(field, accessCount);
  }
  return accessCount;
}
\end{verbatim}
}
}
